package com.dawnClass.VO;

import com.dawnClass.pojo.Consumer;
import com.dawnClass.pojo.Note;

public class NoteConsumerVO {
    private Note note;
    private Consumer consumer;

    public NoteConsumerVO(Note note, Consumer consumer) {
        this.note = note;
        this.consumer = consumer;
    }

    public Note getNote() {
        return note;
    }

    public void setNote(Note note) {
        this.note = note;
    }

    public Consumer getConsumer() {
        return consumer;
    }

    public void setConsumer(Consumer consumer) {
        this.consumer = consumer;
    }

    @Override
    public String toString() {
        return "NoteConsumerVO{" +
                "note=" + note +
                ", consumer=" + consumer +
                '}';
    }
}
